package com.nail.api.user.service;


import com.nail.api.user.bean.User;
import com.nail.service.IBaseService;
import com.nail.utils.PageResult;

import java.util.List;
import java.util.Map;

public interface IUserService extends IBaseService {

    public User getUserByName(String userName);

    public Map<String,Object> registerUser(User user);

    public Map<String,Object> LoginIn(String userName, String password);

    public boolean getUserIsExist(String userName);

    public User getUserById(Long id);

    public void updateUser(User user);
    
    public User getUserByUserName(String userName);
    
    public PageResult getUserByCondition(PageResult pageResult,String condition);
    
    public Map<String, Object> getResult();
    
    public void jobSelect();
}
